package cn.liit.weixin.message.process.receive;

import cn.liit.weixin.message.model.req.ReqBaseMessage;
import cn.liit.weixin.message.model.resp.RespBaseMessage;

/**
 * 消息处理器基类
 * @author mypc
 *
 */
public abstract class ReceiveProcessor {
	private String msgType;
	private String event;
	
	public abstract RespBaseMessage doProcess(ReqBaseMessage reqBaseMessage);
	
	public String msgType(){
		return msgType;
	}
	public String event(){
		return event;
	}

	public ReceiveProcessor(String msgType, String event) {
		super();
		this.msgType = msgType;
		this.event = event;
	}
}
